{% extends "base.html" %}
{% block content %}
<div id="content">
    <div id="postForm">
        
    </div>
    
    <h2>The Stream</h2>
	  <ul id="stream">
	  {% for post in posts %}
            <li class="streamElement">
	      <strong>
		<a class="friendLink" href="/friends/index/view?id={{ post.to_user.user.id }}">{{ post.to_user.user.username }}</a>
		<==
		<a class="friendLink" href="/friends/index/view?id={{ post.from_user.user.id }}">{{ post.from_user.user.username }}</a>
	      </strong>
                <br /><span class="streamMessage">{{ post.message }}</span>
                <br /><span class="streamDate">{{ post.date_added }}</span>
            </li>
	  {% endfor %}
	  </ul>
        
        
	  <a class="pageLink" href="/index.php?offset=">Previous</a>
	  <a class="pageLink" href="/index.php?offset=">More</a> 
	  <p>No available friend activity</p>
</div>
{% endblock %}